<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>用户昵称</label>
              <span>（签到用户）</span>
              <input class="form-control" value="{$info['user_nickname']}" type="text" readonly>
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>签到日期</label>
              <span>（用户签到的日期）</span>
              <input class="form-control" value="{$info['checkin_date']}" type="text" readonly>
            </div>
          </div>
 
          <div class="col-md-6">
            <div class="form-group">
              <label>连续天数</label>
              <span>（连续签到天数）</span>
              <input class="form-control" name="continuous_days" placeholder="请输入连续天数" value="{$info['continuous_days']}" type="number">
            </div>
          </div>
 
          <div class="col-md-6">
            <div class="form-group">
              <label>获得积分</label>
              <span>（本次签到获得的积分）</span>
              <input class="form-control" name="points" placeholder="请输入获得积分" value="{$info['points']}" type="number">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>签到时间</label>
              <span>（具体签到时间）</span>
              <input class="form-control" name="checkin_time" placeholder="请选择签到时间" value="{$info['checkin_time']}" type="datetime-local">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>签到状态</label>
              <span>（签到记录状态）</span>
              <select class="form-control" name="status">
                <option value="1" {if condition="$info.status eq 1"}selected{/if}>正常</option>
                <option value="0" {if condition="$info.status eq 0"}selected{/if}>无效</option>
              </select>
            </div>
          </div>

          <div class="col-md-12">
            <div class="form-group">
              <label>备注</label>
              <span>（签到记录的备注说明）</span>
              <textarea class="form-control" name="remark" rows="3" placeholder="请输入备注">{$info['remark']}</textarea>
            </div>
          </div>
            
        </div>
      </div>
      <div class="box-footer">
        
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        <input type="hidden" name="user_id" value="{$info['user_id']}"/>
          
        {include file="layout/edit_btn_group"/}
        
      </div>
    </div>
</form>